Filling a shape paints the shape with color. Stroking a shape paints the outline of the shape with color. Stroking a line paints the line with color.
Use the paint bucket tool to fill shapes. Use the ink bottle tool to stroke lines and shapes. Use the eyedropper tool to sample fill or stroke attributes from one shape and immediately apply them to another shape with the paint bucket or ink bottle tools.